Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bor-heimdall stall after chaindb removal #11725

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Aug 23, 2024

This adds an overflow check to stop bor-heimdall failing to initialize after chain db has been removed

@mh0lt mh0lt merged commit b75675d into main Aug 23, 2024
10 checks passed
@mh0lt mh0lt deleted the fix_bor_heimdall_init_after_db_removed branch August 23, 2024 11:31
@mh0lt mh0lt added the polygon label Aug 23, 2024
@taratorio taratorio added this to the v2.60.7-fixes milestone Sep 4, 2024
taratorio pushed a commit that referenced this pull request Sep 4, 2024
In the first run, init validators was skipped due to the check. Updated
it by checking the erigon3 code to init snapshot for 1st block (this
logic is borrowed from main branch).

cherry-pick adaptation of
#11725
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants